import type { AppRouteRecordRaw } from '@/router/types';
import { LAYOUT } from '@/router/constant';
import { t } from '@/hooks/web/useI18n';

const technicalVision: AppRouteRecordRaw = {
  path: '/technicalVision',
  name: 'TechnicalVision',
  component: LAYOUT,
  redirect: '/technicalVision/index',
  meta: {
    title: '技术视野',
    icon: 'material-symbols:eye-tracking-outline',
    orderNo: 3,
    hideBreadcrumb: false,
    hideChildrenInMenu: true,
    hideMenu: false,
  },
  children: [
    {
      path: 'index',
      name: 'TechnicalVisionPage',
      component: () => import('@/views/technicalVision/index.vue'),
      meta: {
        title: t('routes.demo.technicalVision.technicalVision'),
        hideMenu: false,
      },
    },
  ],
};

export default technicalVision;
